package com.harmony.pilot.agent.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Intent {
    private IntentType type;
    private String action;
    private Map<String, Object> parameters;
    private List<String> entities;
    private double confidence;
    
    public enum IntentType {
        CODE_GENERATION,      // 代码生成
        CODE_COMPLETION,      // 代码补全
        CODE_ANALYSIS,        // 代码分析
        TEST_GENERATION,      // 测试生成
        CODE_REVIEW,          // 代码审查
        GIT_OPERATION,        // Git操作
        BUILD_VERIFICATION,   // 构建验证
        DOCUMENTATION,        // 文档生成
        GENERAL_QUERY         // 一般查询
    }
}

